package com.openbravo.data.loader;

import com.openbravo.basic.BasicException;

public class SerializerWriteBasicComposed
  implements SerializerWrite<Object[]>
{
  private Datas[][] m_classes;

  public SerializerWriteBasicComposed(Datas[][] paramArrayOfDatas)
  {
    this.m_classes = paramArrayOfDatas;
  }

  public void writeValues(DataWrite paramDataWrite, Object[] paramArrayOfObject)
    throws BasicException
  {
    int i = 0;
    for (int j = 0; j < this.m_classes.length; j++)
    {
      Object[] arrayOfObject = (Object[])(Object[])paramArrayOfObject[j];
      for (int k = 0; k < this.m_classes[j].length; k++)
      {
        i++;
        this.m_classes[j][k].setValue(paramDataWrite, i, arrayOfObject[k]);
      }
    }
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.data.loader.SerializerWriteBasicComposed
 * JD-Core Version:    0.6.0
 */